package com.thinkgem.jeesite.modules.erp.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
//出入库订单详情
public class OutAndInWarehouseOrder extends ParaPage implements Serializable {

	private static final long serialVersionUID = -5886259805434149943L;
	
	private Integer id;
	private String code;	//
	private String time;	//执行日期
	private String warehouseCode;	//仓库code
	private String provider;
	private String remarks;
	private String executor;	//执行人
	private String operator;	//操作人
	private String verifier;	//审核人
	
	private String queryGoods;	//查询订单所带的具体物料
	
	private String approvalDate;	//审核日期
	
	private String startTime;
	private String endTime;
	
	private List<String> nameList;	//物品编号
	private List<String> amountList;	//物品数量
	private List<String> repoList;	//物品存放的仓库地址
	private List<String> remarksList;	//物品备注
	
	private List<Goods> goods;
	
	private boolean type;//1-true为入库	0-false为出库
	
	private String status;	//0是待审核，1是通过，2是拒绝,3是暂时保存
	
	private Footer footer;	//页脚处统计
	private Integer amount;	//统计时需要的数量
	private Integer outAmount;	//出量
	private Integer inAmount;	//入量
	
	private String otherParameter;	//用户方便维护其他参数	
	
	
	
	
	
	public String getOtherParameter() {
		return otherParameter;
	}
	public void setOtherParameter(String otherParameter) {
		this.otherParameter = otherParameter;
	}
	public String getQueryGoods() {
		return queryGoods;
	}
	public void setQueryGoods(String queryGoods) {
		this.queryGoods = queryGoods;
	}
	public List<String> getRepoList() {
		return repoList;
	}
	public void setRepoList(List<String> repoList) {
		this.repoList = repoList;
	}
	public List<String> getRemarksList() {
		return remarksList;
	}
	public void setRemarksList(List<String> remarksList) {
		this.remarksList = remarksList;
	}
	public Integer getOutAmount() {
		return outAmount;
	}
	public void setOutAmount(Integer outAmount) {
		this.outAmount = outAmount;
	}
	public Integer getInAmount() {
		return inAmount;
	}
	public void setInAmount(Integer inAmount) {
		this.inAmount = inAmount;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public String getApprovalDate() {
		return approvalDate;
	}
	public void setApprovalDate(String approvalDate) {
		this.approvalDate = approvalDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) throws ParseException {
		if(null!=startTime&&!"".equals(startTime)){
			SimpleDateFormat sdf=new SimpleDateFormat( "MM/dd/yyyy HH:mm:ss" );
	    	Date date=sdf.parse(startTime);
	    	SimpleDateFormat sdf2=new SimpleDateFormat( "yyyyMMddHHmmss");
	    	startTime = sdf2.format(date);
		}
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) throws ParseException {
		if(null!=endTime&&!"".equals(endTime)){
			SimpleDateFormat sdf=new SimpleDateFormat( "MM/dd/yyyy HH:mm:ss" );
	    	Date date=sdf.parse(endTime);
	    	SimpleDateFormat sdf2=new SimpleDateFormat( "yyyyMMddHHmmss");
	    	endTime = sdf2.format(date);
		}
		this.endTime = endTime;
	}
	public List<Goods> getGoods() {
		return goods;
	}
	public void setGoods(List<Goods> goods) {
		this.goods = goods;
	}
	public boolean isType() {
		return type;
	}
	public void setType(boolean type) {
		this.type = type;
	}
	
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getVerifier() {
		return verifier;
	}
	public void setVerifier(String verifier) {
		this.verifier = verifier;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getProvider() {
		return provider;
	}
	public void setProvider(String provider) {
		this.provider = provider;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
	public String getExecutor() {
		return executor;
	}
	public void setExecutor(String executor) {
		this.executor = executor;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public List<String> getNameList() {
		return nameList;
	}
	public void setNameList(List<String> nameList) {
		this.nameList = nameList;
	}
	public List<String> getAmountList() {
		return amountList;
	}
	public void setAmountList(List<String> amountList) {
		this.amountList = amountList;
	}
	public Footer getFooter() {
		return footer;
	}
	public void setFooter(Footer footer) {
		this.footer = footer;
	}
	
	
	
	
	
	
}
